package com.x.crm.model;

import com.x.crm.DocDesc;
import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;

import java.util.Date;

/**
 * Created by Administrator on 2018/3/2.
 */

@MappingTable(tableName = "CRM_PHONE_RECORD")
public class PhoneRecord extends BaseObject {
	@DocDesc("通讯录ID")
	@MappingColumn(columnName = "PHONE_RECORD_ID", columnPk = true, columnLength = 32)
	private String  phoneRecordId;
	@DocDesc("当前人ID")
	@MappingColumn(columnName = "USER_ID")
	private String userId;
	@DocDesc("客户姓名")
	@MappingColumn(columnName = "CUSTOMER_NAME")
	private String customerName;
	@DocDesc("客户电话")
	@MappingColumn(columnName = "CUSTOMER_PHONE")
	private String customerPhone;
	@DocDesc("客户状态")
	@MappingColumn(columnName = "RECORD_STATE")
	private Integer recordState;
	@DocDesc("创建时间")
	@MappingColumn(columnName = "CREATED_TIME")
	private Date createdTime;
	@DocDesc("更新时间")
	@MappingColumn(columnName = "UPDATED_TIME")
	private Date updatedTime;

	public String getPhoneRecordId() {
		return phoneRecordId;
	}

	public void setPhoneRecordId(String phoneRecordId) {
		this.phoneRecordId = phoneRecordId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getCustomerName() {
		return customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}

	public String getCustomerPhone() {
		return customerPhone;
	}

	public void setCustomerPhone(String customerPhone) {
		this.customerPhone = customerPhone;
	}

	public Integer getRecordState() {
		return recordState;
	}

	public void setRecordState(Integer recordState) {
		this.recordState = recordState;
	}

	public Date getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}

	public Date getUpdatedTime() {
		return updatedTime;
	}

	public void setUpdatedTime(Date updatedTime) {
		this.updatedTime = updatedTime;
	}
}
